package com.heima.model.shop.dtos;

import com.heima.model.common.dtos.PageRequestDto;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * @Description: ServiceTypeDto
 * @Version: V1.0
 */
@Data
@ApiModel("ServiceTypeDto")
public class ServiceTypeDto extends PageRequestDto {

        @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
	private Integer id; //id



        @ApiModelProperty("服务编码")
    @TableField("code")
	private String code;//服务编码

    @ApiModelProperty("服务名称")
    @TableField("name")
	private String name;//服务名称

    @ApiModelProperty("图片地址")
    @TableField("img_url")
	private String imgUrl;//图片地址

    @ApiModelProperty("级别")
    @TableField("level")
	private Integer level;//级别

    @ApiModelProperty("排序")
    @TableField("sort")
	private Integer sort;//排序

    @ApiModelProperty("上级id")
    @TableField("parent_id")
	private Integer parentId;//上级id


}
